package br.tce.ufs.appcoleta_mobile.database;

import java.io.File;
import java.util.List;

import org.simpleframework.xml.Serializer;
import org.simpleframework.xml.core.Persister;

public class ParserXMLDB {
	
	
	public List<Object> readXml(Class clazz) throws Exception{
		Serializer serializer = new Persister();
		File source = new File("example.xml");

		return serializer.read(clazz, source);

	}

}
